package com.ms.demo.entity;

/**
 * @description: ***
 * @author: ms
 * @create: 2022-09-14 14:43
 */
public class User {

    private Integer userId;//用户id

    private String username;//用户名

    private Integer balance;//余额

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                ", balance=" + balance +
                '}';
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }
}